
#ifndef					__CLIENTMANAGER_H__
# define				__CLIENTMANAGER_H__

# include				<map>
# include				"IClientManager.h"

class					ClientManager : public IClientManager
{
public:
	~ClientManager();
	IClient				*operator[](unsigned int);		
	void				clear();
	bool				find(unsigned int);
	void				add(unsigned int, IClient *);
	void				remove(unsigned int);
	std::map<unsigned int, IClient *>	getMap() const;
private:
	std::map<unsigned int, IClient *>	_clients;
};

#endif // !ClientManager
